{% load i18n %}
<ul class="nav nav-tabs">
  <li class="active"><a href="#info" data-toggle="tab"><i class="fa fa-info-circle"></i>{% trans "Info" %}</a></li>
  {% if resource.polymorphic_ctype.name == 'layer' %}
  <li><a href="#attributes" data-toggle="tab"><i class="fa fa-bars"></i>{% trans "Attributes" %}</a></li>
  {% endif %}
  {% if resource.is_mosaic %}
  <li><a href="#granules" data-toggle="tab"><i class="fa fa-bars"></i>{% trans "Granules" %}</a></li>
  {% endif %}
  {% if DISPLAY_SOCIAL %}
  <li><a href="#share" data-toggle="tab"><i class="fa fa-share"></i>{% trans "Share" %}</a></li>
  {% endif %}
  {% if DISPLAY_RATINGS %}
  <li><a href="#rate" data-toggle="tab"><i class="fa fa-star"></i>{% trans "Ratings" %}</a></li>
  {% endif %}
  {% if DISPLAY_COMMENTS %}
  <li><a href="#comments" data-toggle="tab"><i class="fa fa-comment-o"></i> {% trans "Comments" %}</a></li>
  {% endif %}
  {% if EXIF_ENABLED and resource.polymorphic_ctype.name == 'document' and exif_data %}
  <li><a href="#exif" data-toggle="tab"><i class="fa fa-photo"></i> {% trans "Exif" %}</a></li>
  {% endif %}
  {% if FAVORITE_ENABLED and favorite_info %}
  <li><a href="#favorite" data-toggle="tab"><i class="fa fa-star"></i>{% trans "Favorite" %}</a></li>
  {% endif %}
</ul>
